package com.hoshiicloud.saleorder.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.saleorder.entity.CoinList;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 金币流水 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-03
 */
@Service
public interface CoinListService extends IService<CoinList> {

    CoinList getById(Long id);

    @Override
    boolean save(CoinList entity);

    @Override
    boolean updateById(CoinList entity);

    IPage<CoinList> page(IPage<CoinList> page, Wrapper<CoinList> queryWrapper, String key);

    boolean deleteById(Long id);

    List<CoinList> getByIds(List<Long> ids, String key);
}
